package com.cloud.common.exception;

public class CloudException extends RuntimeException{
	private Integer code = 0 ;
	
	private String message;
	
	public String getMessage() {
		return message;
	}


	private static final long serialVersionUID = 1L;

	public void setMessage(String message) {
		this.message = message;
	}

	public CloudException(String message) {
		this.message=message;
	}
	
	
	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public CloudException(int code, String message) {
		this.message=message;
		this.code= code;
	}
}
